﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="ListTZ.aspx.cs" Inherits="lcs.Web.Admin.out_storage_detail.ListTZ" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <script language="javascript" src="/js/CheckBox.js" type="text/javascript"></script>
    <script src="../../js/myjs.js"></script>
    <script src="../../My97DatePicker/WdatePicker.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<!--Title -->

            <!--Title end -->

            <!--Add  -->

            <!--Add end -->

            <!--Search -->
            <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
                <tr>
                    <td style="width: 80px" align="right" class="tdbg">
                         <b>安装地址：</b>
                    </td>
                    <td class="tdbg">
                    <asp:TextBox ID="txtdress" runat="server"></asp:TextBox>&nbsp;
                        <b>入库时间：</b><asp:TextBox ID="txt_startTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})" Width="82px"></asp:TextBox>
                        -<asp:TextBox ID="txt_endTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',readOnly:true})" Width="82px"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" >
                    </asp:Button>                    
                        
                    </td>
                    <td class="tdbg">
                    </td>
                </tr>
            </table>
            <!--Search end-->
            <br />
            <asp:GridView ID="gridView" runat="server" AllowPaging="True" Width="100%" BorderWidth="0px" CellPadding="0" CellSpacing="1" CssClass="gv" GridLines="None"  OnPageIndexChanging ="gridView_PageIndexChanging"
                     DataKeyNames="out_storage_detail_Id" OnRowDataBound="gridView_RowDataBound"
                    AutoGenerateColumns="false" PageSize="10"  RowStyle-HorizontalAlign="Center" OnRowCreated="gridView_OnRowCreated">
                    <Columns>
                    <asp:TemplateField ControlStyle-Width="30" HeaderText="选择"    >
                               <HeaderTemplate>
                                    <input id="Checkbox1" type="checkbox" onclick="chall(this)" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="DeleteThis" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField>                            
		 <asp:BoundField DataField="use_projectname" HeaderText="站点" SortExpression="use_projectname" ItemStyle-HorizontalAlign="Center"  />      
                       <asp:BoundField DataField="receive_address" HeaderText="安装位置" SortExpression="receive_address" ItemStyle-HorizontalAlign="Center"  /> 
                        <asp:BoundField DataField="material" HeaderText="物料" SortExpression="material" ItemStyle-HorizontalAlign="Center"  /> 
                        <asp:BoundField DataField="nums" HeaderText="数量" SortExpression="nums" ItemStyle-HorizontalAlign="Center"  DataFormatString="{0:0.00}" /> 	                	                
                             <asp:BoundField DataField="unitPrice" HeaderText="单价" SortExpression="unitPrice" ItemStyle-HorizontalAlign="Center"  /> 	                	                
                             <asp:BoundField DataField="sname" HeaderText="供应商" SortExpression="sname" ItemStyle-HorizontalAlign="Center"  /> 	                	                
                             
		 <asp:BoundField DataField="slink" HeaderText="供应商联系人" SortExpression="slink" ItemStyle-HorizontalAlign="Center"  /> 	                	                
                 <asp:BoundField DataField="receive_time" HeaderText="安装日期" SortExpression="receive_time" ItemStyle-HorizontalAlign="Center"  /> 
		              
		 <asp:BoundField DataField="reqdate" HeaderText="到货日期" SortExpression="reqdate" ItemStyle-HorizontalAlign="Center"  /> 	                	                
                             
		 <asp:BoundField DataField="lastouttime" HeaderText="出库日期" SortExpression="unitPrice" ItemStyle-HorizontalAlign="Center"  /> 	                	                
                             
		 <asp:BoundField DataField="projectname" HeaderText="项目" SortExpression="projectname" ItemStyle-HorizontalAlign="Center"  />      
                            
                        </Columns>
                </asp:GridView>
               <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
                <tr>
                    <td style="width: 1px;">                        
                    </td>
                    <td align="left">
                       <asp:Button ID="btnout" runat="server" OnClick="btnout_Click" Text="导出" />                     
                    </td>
                </tr>
            </table>
</asp:Content>
